import requests


class IhrmogAip:
    #定义登录方法
    @classmethod
    def ihrm_login(cls,body):
        url ="http://ihrm-test.itheima.net/api/sys/login"
        hearder ={"Content-Type":"application/json"}
        resp =requests.post(url=url, headers=hearder, json=body)
        return resp
